<?=$this->load->view('include_header',null)?>
	<div id="top-panel">
		<div id="panel">
			<ul>
				<li class="current"><a href="<?=site_url('archive/idcard/'.$id)?>" class="report"><?=(empty($id))?"录入新":"编辑"?>客户基本信息</a></li>
				
			</ul>
		</div>
	</div>
	<div id="wrapper">
		<div id="content">
			<div id="box">
			<form id="form" method="POST" action="<?=site_url('order/ticket_update/'.$cateid)?>">
			<fieldset>
			<legend>保险办理入口</legend>
            <a href="http://shop.pingan.com/yiwai/sem/yiwaixian/index.jsp" target="sub_view"><img src="images/insurance_logo_1.png" border="0" height=30></a>　　
            <a href="http://www.epicc.com.cn/xgbx/lybx/jwzzyx/" target="sub_view"><img src="images/insurance_logo_2.png" border="0" height=30></a>　　
            <a href="http://www.ecpic.com.cn/zxtb/" target="sub_view"><img src="images/insurance_logo_3.png" border="0" height=30></a><br>
            <hr size=1>
            <iframe width="100%" height=800px frameborder="0" name="sub_view" scrolling="auto"></iframe>
			</fieldset>
			</form>
			</div>

		</div>
		
		<?=$this->load->view('include_sidebar',array('id'=>$id,'forms'=>$forms))?>
	</div>

	<script type="text/javascript">
	$().ready(function() {
	  $("#form").validate({
		rules: {
			name:{
			 required:true,
			 minlength:3
			},
			leave_date:{
			 required:true
			},
			reversal_date:{
			 required:true
			}
		}
	  });
		$( "#leave_date" ).datepicker({
			changeMonth: true,
			changeYear: true,
			showOn: "both",
			buttonImage: "images/calendar.gif",
			buttonImageOnly: true,
			dayNamesShort: ["SU","MO","TU","WE","TH","FR","SA"],
			dateFormat: "DddM"
		});
		$( "#reversal_date" ).datepicker({
			changeMonth: true,
			changeYear: true,
			showOn: "both",
			buttonImage: "images/calendar.gif",
			buttonImageOnly: true,
			dayNamesShort: ["SU","MO","TU","WE","TH","FR","SA"],
			dateFormat: "DddM"
		});
	});
	</script>
	
<?=$this->load->view('include_footer',null)?>
